package com.ruoyi.bl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户地址对象 gas_user_address
 * 
 * @author ruoyi
 * @date 2023-08-24
 */
public class BlUserAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表id */
    private Long addressId;

    private Long deptId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 地址表主键 */
    @Excel(name = "地址表主键")
    private Long regionId;

    /** 收货人 */
    @Excel(name = "收货人")
    private String consignee;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 手机 */
    @Excel(name = "手机")
    private String mobile;

    /** 默认收货地址 */
    @Excel(name = "默认收货地址")
    private Integer isDefault;

    /** 省份名称 */
    @Excel(name = "省份名称")
    private String provinceName;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String districtName;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public Long getRegionId() {
        return regionId;
    }

    public void setRegionId(Long regionId) {
        this.regionId = regionId;
    }

    public void setConsignee(String consignee)
    {
        this.consignee = consignee;
    }

    public String getConsignee() 
    {
        return consignee;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setIsDefault(Integer isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault() 
    {
        return isDefault;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("consignee", getConsignee())
            .append("address", getAddress())
            .append("mobile", getMobile())
            .append("isDefault", getIsDefault())
            .append("provinceName", getProvinceName())
            .append("cityName", getCityName())
            .append("districtName", getDistrictName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
